searchbar: Ignore key presses when unmapped
authorTimm Bäder <mail@baedert.org>
Sun, 8 Jul 2018 07:29:14 +0000 (09:29 +0200)
committerTimm Bäder <mail@baedert.org>
Sun, 8 Jul 2018 07:41:15 +0000 (09:41 +0200)
commita976aa9740b90fd4e0ae5ac9086de2022fea4640
treeb88cd49778a97a0bcc7074ede690c63072f60286
parent074eb2a19d6caff5b680fe9a4a8e8629e9e16e0a
searchbar: Ignore key presses when unmapped

The purpose of a searchbar is to start a search on visible widgets when
a key is pressed. Starting a search on e.g. a stack page that is not
visible at all is not very useful.
gtk/gtksearchbar.c